require "../../func_spec.cr"

expected_endpoints = [
  Endpoint.new("/", "GET", [
    Param.new("query", "", "query"),
    Param.new("cookie1", "", "cookie"),
    Param.new("cookie2", "", "cookie"),
  ]),
  Endpoint.new("/update", "POST"),
]

FunctionalTester.new("fixtures/ruby/sinatra/", {
  :techs     => 1,
  :endpoints => 2,
}, expected_endpoints).perform_tests
